#ifndef _SETTING_MENU_H_
#define _SETTING_MENU_H_

#include "cocos2d.h"
#include "ui/CocosGUI.h"


class settingMenu:public cocos2d::LayerColor
{
public:
	settingMenu(void);

	~settingMenu(void);

public:
	static cocos2d::Scene *createScene();

	virtual bool init();

	CREATE_FUNC(settingMenu);

	void onClosing(cocos2d::Ref*,cocos2d::ui::Widget::TouchEventType);

	void removeSelf(cocos2d::Ref*);

	void onPlayMusic(cocos2d::Ref*,cocos2d::ui::Widget::TouchEventType);

private:
	cocos2d::Node* Menu;

	cocos2d::ui::Button *musicButton;

	bool isPlayMusic;
};

#endif//_SETTING_MENU_H_



